I had the same UI issue where my Unity was set to 16:9 but the WebGL build was 16:10, so my button on the right also slid off the screen. With help from some other people I fixed it by changing my panel that contains the controls to be right aligned instead of centered (the default), then right-aligning the controls underneath that.