Hashi: Light: Demo fix bugs

Fixed a bug that sometimes failed to detect the completion of the puzzle. Fixed a bug that caused some connection display exceptions due to undo operation.