Fix to gallery image alignment