fix for min/max zoom