Fixed JS error on fullscreen nav overlay