Make keypresses safe
Remember player orientation