Fixing popup focus behavior and issue #213
Merge pull request #337 from brock8503/dpibug

Fixing #213 popup focus behavior and DPI transform bug.