C944 was ceramic, but pulling it out revealed that it was leaky and high ESR.
I swapped it out and the power supply seems to work better now. It now runs off mains when the potentiometer is turned all the way up (but the 8.6V rail is at 9.53V instead). I think I might have destroyed some transistors during testing though.