Add bug workaround where clicking undo skipped drawing after timer expires