mouse interaction bug fix