Check all of your grounds first.... dismantle the engine ground buss and clean thoroughly. Also, what kind of condition are your batteries in when you go to start? Prior to getting new batteries, if I was at anchor for a couple of days and attempted to use my bow thruster upon leaving with batteries and 60% my instruments would turn on / off. I cleaned all my ground connections first and that help significantly, however the batteries were 8 years old. Once replaced I never have this issue.
Good Luck
Greg