fix error when recalculating overlay width and height
Merge pull request #142 from blind-coder/master

Fix for calculating overlay width / height