How to hide lines on container boxes?

Does anyone know how I can stop these diagonal lines from showing up on container boxes when they are not selected? They make it really difficult for me to see and edit the elements inside the container box.