Solved: My compositing settings in the viewport shading are always on to see bloom and the render layer was still set to a different view layer.