Additional check for hidden windows

Add additional checks for hidden windows: sometimes SVProgressHUD cannot show up because hidden windows could be created on top of hierarchy (like apps using [ECSlidingViewController](https://github.com/ECSlidingViewController)).