There is a good chance that your issue is the same Qt bug in Wayland that can effect the Icons-only Task Manager that I’ve heard about before:
Depending how you have your dock set up, you could run into issues. Since this is Qt related bug that only effects Wayland that I am thinking it is, you can try in an X11 session from the login screen and see if it still persists for you. If it works fine in X11 but not Wayland, it is most likely the same bug I am thinking.