Fix $.debounce calling the function twice.