Fix gfxdemo loading error