fixed mouse listener