Render: Prevent null pointer crash