Focus input fix