fix widget mouse events