Restore pre-atlas materials API (from 0.4.0), used with useAtlas: false
Add getMesh, paintMesh for atlas/non-atlas compatibility