Yes, this is true not just for AI Web Artifacts but in using an LLM to create HTML, JavaScript and CSS.
If one can keep the development as plain/vanilla HTML, JavaScript and CSS, meaning that it does not include any external libraries the chances of getting working and bug free code goes up dramatically. Also the more obscure the library, will mean that the model was given less training data, the more likely the model is to hallucinate to complete the reply, thus more bugs.