Make new branch works good with direct rendering (same thread)