fixed UI bug where sometimes parent wouldn't show up