Added proper handling TVIS_OVERLAYMASK flag and allows to display