Properly translate the corner widget in changeEvent().