Added selection rectangle drawing to diagram panel by draggin mouse