Set scale bar length correctly when using full image