Fix defer render issue