Clear solution when a new image is opened