Fix resolution limit mask