For anyone that is looking for the solution, Autodesk has 2 constant to set margin horizontally and vertically, you can set them to 0 to get the exact fit. Log viewer.navigation to the console you should be able to see the source, from then you should see 2 uppercase property end with MARGIN, update them