K1 Max Upgraded with CFS issue

When printing the first layer of the secondary color goes off by 1/8 inch or the last run of the secondary color is off by 1/8 inch. Been struggling on trying to figure out a way to fix this. Any help would be greatly appreciated.

When it switch the color is there any abnormal noise or grinding / stepper motor skipping? From your description sounds like some kind of layer shifting. You update to the latest firmware?