Fixed select.lua's entity manager reference;