app.adaptToDevice was just plain wrong.

Now it isn't.