Fix floating window activity result cancellation

Change-Id: I8ad27907d9739467f74bcc9f37e83af17c39dd67