Change how `resize` event is debounced