Eliminate graphical artifacts when zooming the state diagram display