fix for wrong calculation of keyboardframe and intersection with cceditbox for iOS8