Removed unused render2dobject