Bug fix for MomentOfInertia instantiation