Unexpected Results when Merging Shapes