upload image with bad legend offset