Fix thread rendering