Fixed #27. Ensured random setup tileswaps cannot be undone