If you click to open the main window and it is open, a new main window is created (two). Check if it is visible and do not create it again
Bug watches keep track of this bug in other bug trackers.