Fedora 38 not shutting down properly

I’ve been having this issue for some time now, so I have decided to adress it. As follows:

When shutting the system down through the GUI (by clicking shutdown in the drop-down of GNOME), sometimes the system will shut down completely, except for both the laptop and one of my peripherals staying on. The screen will shut off and I am unable to do anything. Not even a mouse cursor will appear. The keyboard will be powered off, along with my mouse. Effectively making me forcefully shut it down by pressing the power button on my laptop. I have a Intel/NVIDIA laptop using proprietary drivers, and running on Wayland

I have no idea why it happens, or how to reproduce this issue. If needed I am providing logs. Thanks for taking your time to try to help