Check for compound shape with zero child shapes to prevent Bullet assert. Closes #47.