Fixed bug causing elements to be obscured by hidden menu