Fix: Clicking the opened lightbox image tries to invoke the lightbox again

Inserted a conditional statement on the click event, testing if the flex-lightbox div is already the parent - if so, do nothing.