Reduce damage transforms
When a paint node both has an opaque region and a translucent region, compression and transformation to surface space happen twice. This MR tries to reduce the number of operations applied by the OpenGL renderer when rendering a paint node.