Removed unnecessary render calls