Fixed animation issue in ZoomPlugin.