xrdp-ng: fix screen codec mode reconnection