Forgot to closePath and added mouse detection.