[MDITAB] Fix painting when not themed.