Input mask is not working properly on Android devices running 6.0 or higher