Rachel McAdams quit acting for two years to 'stay sane'