Fix zooming discontinuity.