Attempted fix for header positioning bug