Fixed rectangle drawing in Direct2D.