Fix image viewer ActionBar toggle before image loads