Visualizer: Fix another aliasing violation

Change-Id: I8e5215d79f144368254d5ab3b3a4f30dec4a885b
Signed-off-by: zwliew <zhaoweiliew@gmail.com>