Moved rendering from camera to renderer