Fix issue when axis is outside plot area
Merge pull request #192 from objorke/bugfix-positionatzerocrossing

Fix issue when axis is outside plot area (#189)