Avoid calling viewWillAppear twice on OSX 10.10

Fixes #32