Fixed rendering error in windows