Fix debounce resize event