Clean up mouse plugin