Fix a bug in Virsual-Mask in Linux.