Don't clobber existing data

If .mask() was called on an edit box that already contained data, it would wipe that data out. This change keeps the (matching) data and sets the cursor position properly. It looks like the code intended to do this all along, but it didn't actually :)