Focus shifts between overlays on input click