Fixes header issue with cube_to_image