Fix crash of OnePlus One Gallery