Bug in Rectangle tool ( in both desktop and web versions )

No. The diagonal line is indicates if it is Golden ratio or Square
https://help.sketchup.com/en/sketchup/drawing-basic-shapes#draw-rectangle

The rectangle tool is buggy. Can not handle properly the inference line (From point) and Golden/Square “jump” together.