fix some issues with the zoom box