fixing mask projection