Fix right click

Fixes #928