Polygon Rectangle Entities Display Bugs In Scene2D Mode

The rectangle and polygon cannot display fully In Scene2D Mode,It may be influenced by the 90°-180° tile。I don’t know how to solve this problem.
image

sandcastle examples link

Hi, when the extent of rectangle is large such as longitude from -180 to 0 degree ,the zoom to function will base on a center position which is not correct, please use camera.flyTo or setView function instead.

I want to solve this problem which zoom dynamic by mouse control. not as you said.