Added basic debounce to render() method.