Made the TDT able to be rotated and fixed some render shifts for it.