Fixed painting problems in non-MM_TEXT modes.

3 files changed