fixed a bug that iphone can not show the background