the Moodle official version has the same bug
you could get the same bug if you install the Moodle official iOS App
the second bug does not exist on iPhone 7 and iPhone 8
it only exists on the iPhone X, iPhone XR, iPhone XS and iPhone XS Max that has full screen
you could rotate the screen to horizon and then return to vertical, you would see this bug on the top bar
if landscape