Fix memory error with rquiredRenderingParts