Takes top border width in account (cont #2874)
Merge pull request #2880 from yurydelendik/clientTop

Takes top border width in account (cont #2874)