Fix: lock() with no unlock() in ModelLayer::setLightingEnabled