Very strange because I have had Windows 11 Pro installed for 2 years and I am even a beta tester for Microsoft and I am on the latest beta version of Windows 11 that will be released this year and I use mIRC every day and I have never had this problem.
Have you tried checking if all your drivers are up to date?