Attempt to fix crash in requireTokenImage