Fix overstrike when typing password