fixed bug for picture height of layer 3