Error in TextBlock width modification fixed