Fixed crash when SFML doesn't recognize a key