fixed report rotate problem in ios6