fixed that when resize the menublock will disappear