[#560] fixed the `updateBounds` function when the polyshape default position is offset