GUI: fix algo 5 tree visualization, we broke it