Fixes bug that caused gallery to fail to expand to size of first image on init