Framing is going opposite of cutting direction

I reinstalled lightburn to run my XTool D1 PR 40W when i go to framing it goes left to right and back around but when i start the laser it goes right to left and back around Where can I fix this? And also has anyone had any issues installing Lightburn in Windows 11?