Removes TextContent from gfx (to compile the code)