fixed a header color issue when it has a small width and hover