Fix for small resolutions.
Merge pull request #162 from nZEDb/dev

Fix for small resolutions.