mainview: account combo box visible from settings menu

Change-Id: I8eafea9d1cf07a11a8780f8d2f3495480b2360ed
diff --git a/src/mainview/components/AccountComboBoxPopup.qml b/src/mainview/components/AccountComboBoxPopup.qml
index 0d0c284..7f0974a 100644
--- a/src/mainview/components/AccountComboBoxPopup.qml
+++ b/src/mainview/components/AccountComboBoxPopup.qml
@@ -40,9 +40,9 @@
      */
     implicitHeight: {
         comboBoxPopup.visible
-        return Math.min(accountComboBox.height * Math.min(
-                                 5, accountListModel.rowCount() + 1),
-                             sidePanelRect.height)
+        return Math.min(accountComboBox.height *
+                        Math.min(5, accountListModel.rowCount() + 1),
+                        mainViewSidePanelRect.height)
     }
     padding: 0