fix for some zooming issues