right click bug fix and mouseout fix