Merge "Fixes crash when pinning unfocused task in multiwindow"