Replace usage "sizemode" attribute to "sizemodechange" event
Fix Thunderbird startup with uncorrect window controls position