Revert "Fix floating window activity result cancellation"

This reverts commit 7db4a1920489090d2d889d98844e2b83b46eb0d1.