Workaround the non-portrait-orientation bug in our visibility routine.

While we work on #135, the workaround described on that bug should make it into 1.1. cc @MaxGabriel