[#50639317] Fix gallery anchors