Fixed resizing issue with header