Set -hudWindow to `nil` after dismissing HUD.

Fixed status bar color not updating after dismissing HUD.