Fixed Sprite flipping and added Keyboard support