Fixed segfault when attempting to rotate a T piece in too small of a space