Fixed duplicated rendering