[Bug 34381] Rectangle rotation problem using GM_ADVANCED graphics mode