Handle rfb disconnection on resolution change