Don't use XOR mode for drawing rectangle.