Fix#3801  

State is changed to RESUME when game comes back to foreground if pause button was clicked in Interval Test

http://cocos2d-x.org/issues/3801