app:dock improve paint progress of embeded window