Added render event to cancel.