Very very old bug.

From Russia with love
Merge pull request #3508 from LethalGhost/patch-1

fix incorrect mask display.