Fixes main image alignment