Drop 'ref' to work around a Rust bug

The bug is mozilla/rust#8675.

Fixes #752.
auto merge of #756 : kmcallister/servo/frametreeiterator, r=metajack

The bug is mozilla/rust#8675.

Fixes #752.