Fix unit tests failures on Mac by adjusting expected menu positions.