Also added more checks for the render function. Co-authored-by: silverwind <me@silverwind.io>
+build: