Fix window content overflow issue.