Fix bug where couldn't type in title input element on Firefox