Space missing in lua error.
Remove const before trying to access TypeRegistry.
Increase scope of enable_disown for GeometricShape.