Add drawMask method to GameObjectView class