Fixed issue when zooming