Prevent copying when getting shape