CanvasRenderer: Removed redundant material.map check. Fixes #2994.