I had the same problem on my Macbook Pro 16" M1, although not related to Citrix, and was able to solve it by changing the resolution forth and back:
Settings --> Display --> Advanced --> Tick on "Show resolutions as a list" --> Done --> Change to a different resolution and then back