Fix bug in parse_shapes_blockbox