Fix primary-img margin bug