coordinate handling fixes

see commit messages