fixed texture problems present on Windows machines