Fix keyboard in portrait orientation