Quick fix to the gfx() function to make it compatible with NME's asset fetching logic