updated player handleEvent to only stack movement keys