fix css conflicts about mouse events