fix xcode6 simulator display error