BitmapBatch micro-optimizations
Fix RenderLib sometimes using old shaders.