This is normal behavior:
Translated:
The spacing calculation does not work if the elements are inside containers.