FIX: correctly set material when enabling/disable mask property
FIX: correctly set material when enabling/disable mask property

playcanvas/engine,aidinabedi/playcanvas-engine,MicroWorldwide/PlayCanvas,MicroWorldwide/PlayCanvas,aidinabedi/playcanvas-engine,playcanvas/engine,sereepap2029/playcanvas,sereepap2029/playcanvas,sereepap2029/playcanvas