Don't send invalid cached paint messages to compositor
auto merge of #761 : eschweic/servo/quadtree-crash, r=pcwalton

Fixes #757.