Well technically that was because of the difference in electoral college and popular vote. Senate and House races are popular vote but some are neck and neck. Plus what screwed the polls were dishonest answers from people who were afraid to voice their opinions. Now they're loud and clear.
The map is really bad for democrats. They need a hail mary but if not 2018, then let's try for 2020.