Proper update on resizing central widget