Fixed an issue with previous commit where many resources wouldn't load