Getting the graphics device in CryEngine 3.5.4… the hard way