fixed issue with screen colors and dirty rects