buffer for mouseclicks