Could not handle negative movement properly