improving mouse colliding for #16