d3 drawing rectangles and dragging

Noted. Changing rectangle width and height made my lines and text to fall outside. I guess this was the problem.