Textured block textures on side walls don't scale properly

#1
when resizing one of the textured blocks in the x and z (the two horizontal) directions the side walls' textures don't don't scale properly. In fact, they scale when they should only be extended the way they do on the top and bottom surfaces. This leads to very stretched and ugly looking side walls when making walls.
 
Top