Fix exception thrown during double-click zoom

Previously, there was a silent exception being thrown. The behavior was right, though for the wrong reasons.