SpriteSortMode.FrontToBack and CustomEffects

cf this maybe ?

where a layers problem was solved.