Fix thumbnail on click