Sun Position changes when rendering

I created a scene with only sun lighting, the preview shows how I wanted the lighting below.

The rendered image comes out way darker and nothing like the preview.

It also changes the sun position after rendering… ignoring the saved scene sun position.
This happens every time i go to render the scene. Even when resetting the sun position.

I just got an error as well that crashed the program.
pasted-from-clipboard.png