setRotation now redefines the Entity rect. This had the ability to cause some subtle bugs until this fix.