Force datetime picker to display as modal

I have a project with a start and end date picker right next to each other, since one is at the corner of the screen, it opens in a modal, and the other opens normally

I know this was done as a fix to the datetime picker displays underneath other elements bug, but if this is the workaround then it would be nice to have a way to make them consistent

Sort of a duplicate of Perspective DateTime Picker - Popover direction