Fix preferences window on 10.9