Fixed input erasure bug

in ChatWindow.cs, moved inputField =""; to the correct location