If the given output or desktop is not in m_screenAreas, [] operator can crash. (cherry picked from commit 41160789)