Adds attempted fix for the issue where buttons on layers on layers had the wrong bounding boxes.
@@ -99,7 +99,7 @@ public class Layer extends Component {
if (component instanceof Layer) {
((Layer) component).setRootScreen(rootScreen);
- addLayerComponent((Layer) component, new Point(0, 0));
+ addLayerComponent((Layer) component, new Point(getBoundingBoxOffset()));
}
// Add the component
