visualizer: fix sub-overflow

Fix visualizer crash due to sub-overflow.

CRs-Fixed: 2571235
Change-Id: I37dc0ac9b0011243f8f4ce11141869228fb858a4
1 file changed