ModMaterial: fix crash when shader return a compil error, only paint mesh in red