fix black border ios-8 bug