Check engine light/Power issues

Hey guys, first time poster. I bought a ’15 570 about a month ago. Currently has 24 hrs and about 360 miles on it. Last night, me and some buddies rode in the rain. 3 of us have 570’s. Multiple times, my Rzr’s check engine light came on briefly and the engine sputtered/backfired. When i let off the gas, it was fine and the light shut off. From a little research, i think this may be an issue with the throttle position sensor? Also, my Rzr is set up almost identical to my buddies and seems to have slightly less power then theirs. Would the throttle sensor affect this? It seems that it doesn’t rev as high as it should. Thanks for the input.