Is fixing this not a trivial matter of taking the time to actually negotiate your employment contract (instead of just agreeing to whatever is put in front of you without bothering to read it) before you start a job? That's what I did when presented with a contract that claimed ownership of everything I ever wrote while employed, including letters to my grandmother.