Change before and after zoom/pan callbacks timing. Closes #65