Check two things: First, make sure your belts are not rolling up on the keyboard side. If they are, trim the edge. The other thing to check is the board sensor used in measuring the width of the board on the bottom of the Z-truck. If there's sawdust inside the lense, it can't "see" properly.
I've encountered both of these problems and neither one is hard to fix.