I have only been able to replicate this on an Android device. I'm running 6.0.1.
When I have a text question with a mask applied and I try to enter inputs, the form adds a 6 at the end of the input for no reason.
This behaviour was not observed on iOS devices.
Please find attached XLSForm for your reference.