Fix issue double-clicking on pre-selected pictures