fixes cursor focus in form fields