Dirty hack to make tab key work in textfield