keyboard grabbing fix