Merge "Don't crash when copying a null Rect Bug #7158068" into jb-mr1-dev