Use ZOOM_EVENT_MAX for size of ZOOM event array