Fixed Windows build
Slight rendering fixes for textures