Make new render pipeline works good with direct rendering