Fixed a z test error in spBlitSurface