Changed back to GraphicsComponent receive a RenderSystem. Need to check why weak_ptrs causes me a memory corruption.