Slight change from how I fixed it; put the tab initialisation after the minimap initialisation