[xulrunner] Add gecko29-specific fix for not fully repainted orientaion change