Fixed rotation and added physics frame limiting.