[[ Bug 12794 ]] Account for image scale when drawing with a centerrect