Fixed movement bug.