fixed zooming bug