Fix top bar resizing, close #80.