Improve code

Combine HUDTopMask and HUDBotMask to HUDMask. Using transform to
present two type Masks.