fn register_rect(ui: &Ui, rect: Rect)
Show this rectangle to the user if certain debug options are set.