Move .actionComplete() calls into right place (rect & line tools)

[#73959546]