Try adding more bed size in the Homeall.g for example here is a modified section of yours.
G1 Y-220 F1800 S1
G1 X-220 F1800 S1 ; Move towards X and Y axis endstops (first pass)
G1 X5 Y5 F6000 ; Go back a few mm
G1 X-220 Y-220 F360 S1 ; Move slowly to axis endstops once more (second pass)
Even though your bed size is 195mm in some conditions it may take more than 195mm of travel to make it to the endstop while homing.
I noticed that in your homex.g you gave the X position 250mm of travel during homing of just X, you can use that number in homeall also if you feel like it.