Fix for angular-ui mask correct working