Combat rightward drifting of code