Hackish fix for NERDTree (assumes it's installed)
Detect if NERDTree is present before running fix