How do I fix this???
Yes that’s very common in 3d apps. The view-port is in real time a it’s doing an approximation. A render takes in account many more factors. Think of the render as a camera and darkroom. You take the shot then you develop the film and print it. The photo will always be different then the camera viewfinder.