The meta key works every other boot

The title pretty much says everything.

The laptop doesn’t register it being pressed. Tested this by trying to make a new shortcut, it just did nothing.

However, when I reboot, it works fine. I even tried shutting down the laptop completely and turning it on again. I got the same result. It literally works every other boot. I have no idea why.

Edit: I just checked and shutting down doesn’t actually solve the problem. The meta key starts working only after a reboot.