Loiter mode on boat problem

Hello. Can you help me? I start loiter mode on the boat and 2 motors begin to work normally trying to hold position for several seconds. Compass is ok (I see stable red line in Mission planner) but suddenly orange line goes somewhere and motors starts work on 100% trying to reach some location. Do you have any ideas what can be a problem? Thank you in advance!
2