[DebuggerVisualizers] Validate iter is valid before using it
[DebuggerVisualizers] Fixed some glitches when displaying Preview Window