Fix for textfield not disappearing on dates