Rewritten function RenderActors