Image zoom bug fix