Crash when right clicking on keys (after specific steps)

Reproducing the crash is what matters, so the issue is fine.