fix keyboard panning