fixed dock style bug for Qt5