Fixed build when using of double BoundingBox/BoundingSphere