It shouldn't happen unless you accidentally click that toolbar menu item, or unless you somehow drag the Desktop shortcut folder to the bar at the bottom of the screen.
It
should be fairly difficult to do by accident, so I wouldn't worry too much - at least you know how to fix it now