Insulating layers formed between TFT elements and OLED elements