Fix proprietary files to prevent some crashing and glitching