How to reproduce:
1. Create a new project
2. In the Hierarchy window add a Panel (right-click > UI > Panel)
3. In the Inspector window add a "Grid Layout Group" Component to the Panel
4. In the Hierarchy window select a Panel and add a Button (right-click > UI > Button)
5. Observe the Game window
Expected result: Button is fully visible in the Game window
Actual result: Just the right bottom corner of the Button is visible
Reproducible with: 2019.4.36f1, 2020.3.31f1, 2021.2.15f1, 2022.1.0b11, 2022.2.0a7
Notes:
- Reproducible with Legacy Button and TMP Button
- If changing Button properties in the Inspector window, then the Button changes the position and is fully visible