The way I get rid of the blue box around selected units is lift your mouse cursor above the horizon till the red circle with the slash in it shows then left click the mouse button.