FIX bug which caused the text in the textfield to jump slightly when changing from editing mode to non-editing mode and vice verse