This is a common issue with sprite stacking. Considering planes have no "thickness" to them, you will get gaps between layers when you become parallel to them. This is just the nature of sprite stacking. The only real fixes are to either A) tilt planes towards the camera to fill the gaps, or B) extrude between the gaps to fill the space (typical voxel rendering).