Fix aspect ratio of the layer thumbnails
It was dropped when implementing RTL support for layers docker.