Fix blender 3.0 compatibility