I think there are major graphical differences between RPI1-2-3 and RPI4.
And ResidualVM uses a lot of OpenGL(ES) features (unlike ScummVM).
Perhaps it is the cause of the problem.
But unfortunately, I have no RPI4. So, I can't help further.
Sorry.