Looks like the current (r59) version of the image editor, when you are editing pivots. The preview screen close button detects mousedown and the mouseup if coincidently located in the image editing canvas, the pivot is missplaced. This may apply to other popups that are present (ie closing the image editor and the mouse up causes an event in the layout editor.