Correct topPanel size