Fixed empty status margin when open a file.