Is the scene size the same in both cases? Could you prepare a minimal compilable example reproducing the problem?