Backport sizing fix from cef3 branch.

We need to use the client size instead of the regular size.