Fix input:focus bug