Rewrote mask canvas to use MeshLambertMaterial.