got mouse events working right