render ⇢ layout, style ⇢ paint (fixes #166)