wfreerdp: fix screen crash when connecting to XP desktop with some resolution.