A few more tweaks to fix the gallery