Use setTimeOut to ignore the second single-click generated from a double-click event.

This fixes issue #3416.