Make restore view work with OS X