Fix Pref window for good

This was forgotten in 18677dbc3fad086f9a0a8c129d37a8799d1c65e0