Ignore spurious mousemove events.

This may help address #533; not sure if it solves it completely.