Instancing and bugfixes for X3D