Hello,
It's likely that your second StackPane is intercepting click, pan, and zoom events before they get to the StackPane with your MapView. Keep the MapView in the bottom StackPane (id: MapPane) and try setting pickOnBounds to false on the second StackPane (id: PanButtonContainerPane).
Hope this helps,
Tyler