fix buggy navigation tree when uploading to folder thats not open