#529 Fix Android 4 bug (calling onDetachedFromWindow twice), see http://code.google.com/p/android/issues/detail?id=22946