He thought his career was over after the film leaked and underperformed.