Merge "Fix a crash of the RenderTask" into devel/master