fix for issue #4

prevent log spamming for material.getId() != this.cache_currentMaterialId as the latter is reset before every frame rendering.