Standardize the fallback behavior of the downloads/gallery element (see #6662)