[gui] [bugfix] display name is not detected when there is only one display