fixed minor bug in image zoom