Apply Jens patch "Hook into resize-event to update MiniStc."