Fix StackOverflowError with spectating