Fixed bug with wrong mask after deleting symbols

The plugin works wrong when float(2.1) => 12.1 -> you delete '2' -> 1.1
-> you type '2' -> you expect 12.1, but there is 1.1