After installing Gnome Shell, you may have a messed up theme like in the image below with the strange bar in the window.
Open the Gnome Tweak Tool. Go to interface. Under Gtk+ theme, select Adwaita. That is the default theme for Gnome 3 and Gnome Shell.
The bar will be removed from the window.