Moved graphics 3d context creation to nacl