Gallery Fix for chrome apps