A few things.
1. If this is your first time building a flyback converter, start with a DC to DC design involving 48v or lower, this is how I first got started. This gives you confidence to probe around comfortably without worrying about electrocution and the whole thing violently exploding. I have had mains flyback converters explode in my face before, and I know it can be quite the shocker (emotionally, not physically hopefully).
When you are comfortable with flyback converter design, you can attempt to do mains input again. Though you
really should be powering your converter design with an isolation transformer and fuse in series. This will reduce the risk of killing yourself and your test equipment.
2. If your transformer has 130uH of leakage when the primary inductance is 800uH, you are going to have to dissipate around ten watts in your RCD clamp and use a clamp resistor in the 1-10k ohm range. The RCD clamp power dissipation is proportional to the leakage inductance, and so usually designers aim to have leakage inductance be 1-2% of the primary inductance.
The consequence of not dissipating enough power with a low enough RCD clamp resistor is your MOSFET will blow up due Vds over voltage breakdown. You are using a 900V rated MOSFET plus the MOSFET avalanche energy makes it easier to prevent that, but with that much leakage inductance and an inadequate RCD clamp, it is likely not enough to prevent the MOSFET from blowing up I suspect.
3. There are no compensation in the feedback loop at all, not on the primary side, nor the secondary side. I am almost certain the output is oscillating with an average output voltage of 12.5V. Hook an oscilloscope to the output and you will see.
Even without an oscilloscope, just by listening to the sound the flyback converter makes will tell you a lot. Your flyback operates at 65kHz, so in theory you should not hear anything. But if you hear coil whine, periodic noises, or even discontinuous pulsing, you know it is doing what it is not supposed to do, and is likely oscillating.
Compensation components are those little R and C placed near the TL431 on the secondary side, or near the FB pin on the primary side. You may not fully understand why they are there or how to calculate the values, but you absolutely need them, and choosing them is one of the most important stops in designing any power supply with feedback.
Oscillation can cause the duty cycle of your converter to be higher than it should and need to be in some cycles, risking component overheating, over current, and transformer saturation.
Read the excellent presentation by flyback expert Christophe Basso on the subject of flyback compensation.
https://www.onsemi.com/pub/Collateral/TND381-D.PDF4. The UC3843 is a bit of an old generic part, and lacks features like VDD overvoltage protection (Controller won't shut off if you have too many windings on the Aux winding and duty cycle is too high under heavy load, and can literally blow itself up instead of throttling down the output), internal slope compensation, current sense leading edge blanking and internal soft start etc.
You can definitely design a great flyback converter with a UC3843, but it is just more difficult, especially if this is your first flyback design.
TEA18363 is a nice part with all the modern comforts mentioned, makes it harder to fk up your design and everything blowing up. For something cheaper, HG2269 is also a decent part and a bit simpler. Both are available from LCSC.
5. There are a lot of excellent resources online that teaches flyback converter design properly, with more accuracy and details than I can type here.
First of all, page 11-33 of the UC3843 datasheet basically tells you how to design a flyback step by step. Don't attempt to skim through it and ignore the steps mentioned. It is already information dense and every bit of information there is essential.
The video lectures by Prof. Sam Ben Yaakov is an excellent resource for understanding theory of operation.
https://www.youtube.com/@sambenyaakov/search?query=flybackVideos by long time practicing engineer Robert Bolanos is also great, he goes through the design process step by step in a hands on manner.
https://www.youtube.com/@RobertBolanos/search?query=flyback