Track mouse leave events.

*Actually* fixes #15.