Setup.lua fixed for resolution detection