Fixed bug with undoing tool actions.