fixed ninePatch drawing in win32