When Joaquin Phoenix and the production couldn't reach a contract agreement, James McAvoy was cast in the lead.