Fix for rotation on ios8

Cherry-picked
https://github.com/jalmaas/iOSContextualMenu/commit/c9090416391459bd648e3003876d35bc340b3349