[PATCH 1/1] gdiplus: improve performance by switching loops and fix size