Check if bounding box of wxGraphicsPath is properly determined.
Verify that last point is properly positioned after the operations on wxGraphicsPath. See #18111.