Merge "Check if mSurface is valid before create SurfaceSession"