Some minor details with panning to accomodate the IME