Debounce render function