Reset mid after applying mask with USEMASKCVVIEW or USEMASKCVVIEW (refs #4162)
Merge pull request #955 from eguaj/3.2-A4162

Reset mid after applying mask with USEMASKCVVIEW or USEMASKCVVIEW (fixes #4162)