xrdp-ng: implement create offscreen bitmap and switch surface orders