Delete global variable ui in Game