how come after i publish and run it, the main menu look too big for the screen but after i press esc for once it back to normal and the back to main menu button in sub menu cant work propely?

but all work propely wen i use wed run game function