I added rectangle drawing mode.