Applied patch from @thechipp to get textfield working when inside a UITableView.