Input fixes, improved keyboard panning