Fixed a bug when drawing the sprites in ActorBodys