C# not rendering correctly