Minor fix to input test to prevent drawing under virtual keyboard.