HG-331 Fix for clicking a link in figcaption defect

`figcaption` element had set `pointer-events` to `none` which resulted in `target` always equaled `figure` in our click event handler. Because of it clicking links in captions didn't work and always opened a media in lightbox.

Changes below removes the unpleasant CSS rule for `figcaption` :japanese_ogre: I also extracted a condition's logic to separate method just for better readability.
Wow this looks testable! :smiling_imp: