Move RenderObject dtor into hpp file to try and generate typeinfo