ReplaceColours in correct place.

Fixes (UNTESTED)