Fix for pinned image locations in cases where the source image has been resized.