Fixed bug where object selection borders where misaligned
Merge pull request #804 from jaaksarv/master

Fix bug where object selection borders where misaligned. Closes #788