Adjusted the redrawConnections method to only redraw and not initialize boxes/ports.