fixed bug with keyboard on screen