What is the bug or the crash?
Good day! Create a frame in QGIS layout. I draw and sign minute strokes, second strokes after 6 seconds and after 1 second. Everything is fine with the first two, and the 1 second interval is partly displayed, and part in longitude is lost. The project itself is in the Mercator projection, and the frame is in WGS-84. In the projection of the mercator, the sides of the rectangle are 6 km by 9 km. Version QGIS 3.20.3. Windows 10.

Steps to reproduce the issue
- Create a project in the Mercator coordinate system with a standard main parallel of 75 degrees
- Open Layout Manager
- Create layout
- Create a sheet 70 x 100 cm
- Paste the extent of the map onto the sheet, when the border of the sheet is 50 mm on each side. Scale 10000
- Create grids. Every second. 3 the grid will be given the number 0.00027777777
- Get the problem, similar to the screenshot above.

Versions
Версия QGIS
3.20.3-Odense
Ревизия
495fbae
Версия Qt
5.15.2
Версия Python
3.9.5
Версия GDAL/OGR
3.3.1
Версия PROJ
8.1.1
Версия базы данных реестра EPSG
v10.028 (2021-07-07)
Версия GEOS
3.9.1-CAPI-1.14.2
Версия SQLite
3.35.2
Версия PDAL
2.3.0
Версия PostgreSQL
13.0
Версия SpatiaLite
5.0.1
Версия QWT
6.1.3
Версия QScintilla2
2.11.5
Версия ОС
Windows 10 Version 2009
Включенные модули Python
db_manager
MetaSearch
processing
Supported QGIS version
New profile
Additional context
If possible, implement the input of the grid step, degrees, minutes and seconds through the window, as in the example. It is not convenient to recalculate for the required values every time

What is the bug or the crash?
Good day! Create a frame in QGIS layout. I draw and sign minute strokes, second strokes after 6 seconds and after 1 second. Everything is fine with the first two, and the 1 second interval is partly displayed, and part in longitude is lost. The project itself is in the Mercator projection, and the frame is in WGS-84. In the projection of the mercator, the sides of the rectangle are 6 km by 9 km. Version QGIS 3.20.3. Windows 10.

Steps to reproduce the issue
Versions
Версия QGIS
3.20.3-Odense
Ревизия
495fbae
Версия Qt
5.15.2
Версия Python
3.9.5
Версия GDAL/OGR
3.3.1
Версия PROJ
8.1.1
Версия базы данных реестра EPSG
v10.028 (2021-07-07)
Версия GEOS
3.9.1-CAPI-1.14.2
Версия SQLite
3.35.2
Версия PDAL
2.3.0
Версия PostgreSQL
13.0
Версия SpatiaLite
5.0.1
Версия QWT
6.1.3
Версия QScintilla2
2.11.5
Версия ОС
Windows 10 Version 2009
Включенные модули Python
db_manager
MetaSearch
processing
Supported QGIS version
New profile
Additional context
If possible, implement the input of the grid step, degrees, minutes and seconds through the window, as in the example. It is not convenient to recalculate for the required values every time
