x11rdp: modify screen resizing function