Fixes right mouse button click bug