Black screen after resuming app

On ios 5.1 cocos2d-x game after move into background cause a black screen at first time you resuming. In second time it’s all ok. This only happens on ios 5.1.
Before that we had crash like this - http://www.cocos2d-x.org/boards/6/topics/9216?r=9223#message-9223. But fix it.

On black screen status bar is also appearing.

We try both latest version of cocos2d-x. The same behaviour.

P.S. Also try to reproduce this bug on cocos2d-x 2.0 tests - the same thing ( black screen appear).

P.P.S. Sorry for my bad english)