Lightbox problem, disappears

I discovered problem with lightbox on my website. When I click on the the thumbnail image and then on the lightbox area then window disappears so I can’t comment. It works with default WP themes. What can be the reason oi it?

FIXED - i used old version of main.php