Fixed a bug that VideoPlayerActivity crashed due to dialog fragment