           height = {@state.imageHeight}
           viewBox = {viewBox}
           data-tool = {@props.selectedDrawingTool?.type} >
-
           <rect
             ref = "sizeRect"
             width = {@state.imageWidth}

                  }
                </g>
            }
        </svg>

    <div className="subject-viewer#{if @props.active then ' active' else ''}">
      <div className="subject-container">

    # return null if @state.subjects is null or @state.subjects.length is 0
    # return null unless @state.subject?
    # console.log 'SUBJECT: ', @state.subject


    console.log 'SUBJECT HAS MARKS: ', @state.subject.location.spec?

    viewBox = [0, 0, @state.imageWidth, @state.imageHeight]
    ToolComponent = @state.tool

