Fix for bug with image size in header