Fixed bug for iOS8 when opening measurment popover