gdi32: Use the helper to get the bounding rectangle.