Fixes bug with debouncing of window resize event binding