window.js: Rate-limit the number of resize events.