Traditionally foam on the dipstick means the fluid level is too high and the pumps are aerating it. Supposedly this also promotes overheating. BUT you said the level was fine according to dipstick—so— is dipstick wrong?!!. Borrow one from a friends same model/year?? empty and refill??!