Fix zoom value clamping