shell: Fix a crash when opening a new window using the app menu

Activate the location entry of the newly created window, instead of the
current one that might be NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=725953