ARMORY-47: Fix cursor position on QLineEdit with an input mask