Fix issue with resizing the zoom box width - follow-up of 2816