Fix bug causing m_pInputLayout to become invalid in EffectTechnique, fix SpriteBatch & SpriteEffect.fx