Support leave_notify events in the canvas. [#668103]