fixed issue where the first field wasn't being given focus if it was a textarea