fix mouse callback methods in example