Added hasBox2DEntityRef.