Applied same fix for custom effects as in the common SpriteBatcher.