fix right mouse click

fixes #2025