Allow selecting pictures drawing a square with the mouse