Fixed page flashing issue when templates were rendered without data.