Unselect an element when clicking on the image
A pretty random find while troubleshooting #917 (closed): the select
code handles selecting elements, but does not deselect otherwise. This closes #904 (closed), but since clicking immediately deselects the element, the other mouse events are understood as moving the image around, which closes #917 (closed).
Edited by Erwan Rouchet