Fixed a bug in the previous commit that the laser beam moves with the entity it collides