Fixed Canvas masks

WebGL masks will come next.