fixed the bug of zoomOut()