Ensure that only one event was fired for each ms.

- https://stackoverflow.com/questions/25991367/difference-between-throttling-and-debouncing-a-function
