10.5.0 grid weird behaviour

Hi all,

we have a program with a 30-columns grid, running it with 10.0.1 runtime, it is displayed as expected:

When we run it with the latest 10.5.0 runtime, columns after 26 are displayed not having all the data, column lables are also missing, alignment is changed. the weirdest is that grid is displayed differently every time we run the program:

Thank you