Update main.lua with test scene, fix rendering rotation