Fix header position syncronization