Fixes shared stateSet in DisplayGeometryVisitor