sounds like yoour thermostat is working....(while moving..high radiator air flow results in good cooling)...but possibly, yes, when stationary, no fan so heat rises.......cold be a few things
sensor
fan
wiring
??
try disconnecting the fan and slapping a momentary 12v across it to eliminatre a fan fault?