Maybe it has to do with your anchor points of the button(s) and canvas/panel in general. Most likely you are test playing it in different resolutions of your play session window and the anchor points move or offset based on their alignment with the screen resolution.
Check your settings of the anchor points of parent object like the panel and the alignment of the UI elements and tweak it until it plays correctly in any resolution. Hope this helps.