Fixes seamless Sfx looping on native targets
Allow renderMode to be set in Engine constructor
Fixing unit tests