Revert "Floating window: Fix possible NPE"

This reverts commit 745b79c30bffde17dfa17dedd4bf3f5230f7fa3e.
Revert "SystemUI: Fix potential NPE"

This reverts commit 1faa598f6c5ec3e1fadfa2e912c11f593fd055af.