A convicted child sex offender has been working in close proximity to children at a Queensland petting zoo for months.