Change renderWith arguments order