Fixed a bug with opening windows that is caused by the navigation login sequence.