candidate: Gibson 's gamble paved the way for Downey 's comeback and Downey returned to mainstream films in the mid-2000s with " Gothika " , for which producer Joel Silver withheld 40 percent of his salary until after production wrapped as insurance against his addictive behavior .