Fixed movement path not updating while moving, fixed an inventory sorting bug