Tightened the zoom logic.