add basic support for stream rectangles dragging