Fixing image alignment