Fixed several bugs ray3

Crash on startup, softlock after intro cutscene, some other bugs.