Quick fix for miss use of CompoundShape.