Fixed build
Fixed state on frame end after gecko finished rendering