fixed some odd behavior in the pixel editor. I need to treat a mouse being dragged off the edge of the canvas the same as releasing the mouse button, since I won't be given mouseup events if they take place outside the canvas.