Adding check for layer boundary sharing
Adding Scene.getBoundaries()