Changed the way moving an entity works