Add required dependency to renderSurface