Ili9341 screen flicker

I have an ili9341 screen attached to an ESP32 which works fine with no other sensors connected.
But as soon as I connect the MHZ19c the ili9341 screen flickers (dims a little) each time the co2 flashes/updates.

This is how I connected the co2 sensor:

uart:
  rx_pin: GPIO3
  tx_pin: GPIO1
  baud_rate: 9600

sensor:
  - platform: mhz19
    id: master_bedroom_mhz19e
    co2:
      name: "Master Bedroom CO2"
    temperature:
      name: "Master Bedroom MH-Z19E Temperature"
      filters:
      - offset: -3.0
    update_interval: 60s
    automatic_baseline_calibration: true    

The screen:

display:
  - platform: ili9341
    model: TFT 2.4
    rotation: 90
    cs_pin: GPIO14 # (Pin on display - CS)
    dc_pin: GPIO27 # (Pin on display - DC)
    led_pin: GPIO32 # (Pin on display - LED)
    reset_pin: GPIO33 # (Pin on display - RESET)
    update_interval: 30s
    id: my_display
    pages: 
      - id: page1....

Anyone have a fix for this?

Tried 3 different types of esp32 all the same.
I also tried connecting the vin/gnd from the co2 sensor to a separate esp32 and that fixes it, seems like it only flickers when sharing the 3.3v port on the same esp32

Fixed it by connecting the co2 sensor to 5v instead of 3.3v if anyone stumps across the same.