Bug 871413 - Force rendering before transition

https://bugzilla.mozilla.org/show_bug.cgi?id=871413