Fixed black line in the middle at beginning (still happen after dialog is shown and then escaped)