Fixes time picker stealing focus and clearing input when pressing enter on another input