Fixing the collapse state for ff img