fix a bug where connecting to a brand new ds9 frame return xpa error because of an xpa screen refresh issue