fix warning about custom prop used in non :root