issues with displaying data in pvbatch with colorbars and legends

Hello,
Instead of using everytime the trace function, i have a base script that outlines the workflow that i do and when i need a new workflow, i base myself on this script and modify it. this is working like a charm for the data treatment section, specially it gives scripts that are way more clean and understandable. Neverhteless for the display section of it ie., images/videos i am having some trouble with the legends and colorbars etc. when I run my scripts on the gui python terminal I with my current script, i am getting a expected ouput, but when i run it using pvbatch, a lot of times the colorbar and text of the legends are absurbly enormous and sometimes it even overlaps with the simulation data displayed. I am clearlly ‘missing’ to define something in the script. currently what I have on in regards to displaying:

renderView = GetActiveViewOrCreate('RenderView')
renderView.OrientationAxesVisibility = 0
annotateTime = AnnotateTime(registrationName='AnnotateTime')
annotateTime2Display = Show(annotateTime, renderView, 'TextSourceRepresentation')
filterDisp=            Show(thresholdAlphaliquidLow, renderView,
                    'GeometryRepresentation',
                    AmbientColor = [0.3333333333333333, 1.0, 1.0],DiffuseColor = [0.3333333333333333, 1.0, 1.0],Opacity = 0.25)
ColorBy(filterDisp, None)

filterDisp2=            Show(thresholdAlphaliquidHigh, renderView,
                    'GeometryRepresentation',
                    AmbientColor = [0.3333333333333333, 1.0, 1.0],DiffuseColor = [0.3333333333333333, 1.0, 1.0],Opacity = 1)
ColorBy(filterDisp2, ('CELLS', 'O2ingas%Sat'))

filterDisp2.SetScalarBarVisibility(renderView, True)

o2inliquidLUT = GetColorTransferFunction('O2ingas%Sat')
o2inliquidLUT.RescaleTransferFunction(0.0, 100.0)


renderView.Set(
    CameraPosition=[12.094773972933861, 3.0058351395905616, 3.06828336629982],
    CameraFocalPoint=[-0.20000000298023224, 0.0, 3.2455354731591797],
    CameraViewUp=[0.016804032574048413, -0.009775377583712101, 0.9998110153835805],
    CameraViewAngle=32.77491408934707,
    CameraParallelScale=3.276161798992333,
)
    SaveAnimation(filename=casePath+'video.avi', viewOrLayout=renderView, location=16, ImageResolution=[1512, 776],
        FrameRate=10,
        FrameWindow=[0, len(timeSteps)-1])

what I am missing to define? when doing a trace i dont see anything in particular that should be there that it is not.
thanks in advance