lavd/xcbgrab: fix comparison with screen size.