Qld fire contained, residents return home