Engine.LastCreatedScene returns null when using tree shaking imports

Thank you for looking into this! I will have to try it out. You learn something new every day!

I am currently trying to build the library without using a bundler, and just tsc after reading some threads on the topic, I am still undecided if that will be the best approach for this project.