Fixed crash bug when creating, renaming, or deleting a folder.