fix mouse interaction