Fix wrong element being hidden when no logo is being used