Clean up Mouse handler functions