Optimize: do nothing on mouseup, if resizing isn't active