A firecracker was thrown onto the pitch by Celtic fans which landed just yards away from St Mirren goalkeeper Václav Hladký.