Print Drifts After Raft Printed

Hi, my UP Mini 2 printer has recently started generating a motion system error 5 in every print. I tried to print a bookmark several times. Each time, the raft prints fine and then the print drifts and starts trying to print successive layers off the raft.

I’ve attached a pic of several of these failed prints. I’ve tried a different roll of filament (black instead of blue) and reducing the nozzle height by 0.5mm. Neither have improved the situation.

The printer initialises and calibrates. However I have found that I have to pull the board to the very front before I press calibrate or the board does not align properly for nozzle detection. That may be linked to this issue.

Has anyone any thoughts on how to fix this?