minor fix for rightclick