Draw Rect handler