Only allow 1 direction movement, taking the last keypress as direction
Fix issue where couldn't stop moving