Windows keep moving between screens after sleep

This. Cordless Dog: Stay

Been using it for years. It enables you to save app window positions in a multi-monitor setup, and then automatically moves them back to the right place when the mac wakes from sleep.