Merge "Fix a crash happening on a context menu."