Temporary test for unloaded gfx items

An error occured when gfx ressources had not been loaded properly when
testing.
Added therefore a small check to test if a ressource is loaded and used
before it is initalized properly.