Fix color wipe x,y calculation