Finally fixed the project margins when showing/not showing images