Fix an edge case with text input fields not showing the cursor with the new padding code.