What I did with mine was to herd them back in as soon as they escaped. The more uncomfortable you make them about being out, the quicker they will stop escaping.
You have to be consistent, if you don't put them back in every time they will learn that its okay to get out.