The skeleton of a spider jockey sits "inside" of spider model rather than on top of the spider
With spider jockeys, the skeleton's model rests inside of the spider's chest rather than on top of it. There still seems to be open room above the skeleton (as seen in the second image) to move the skeleton higher without making the mob combo go above 2 blocks tall.
If possible, the skeleton should be riding on top of the spider.