Modified scene.display method to detect any IPython frontend