I've found the source of a problem. It's Opera's power saving mode. I've configured it to be turned on all the time. Turning it off fixes the problem.