Fix unable to switch inputs when a placeholder input is focused.