Fixed alignment/sizing issue with 3D viewer