fixed iOS texture issue that was causing a crash on startup