prevent resolution from decreasing when zooming out