added sanity check to position to prevent a position from being made on x = NaN y = NaN
Merge branch 'master' of https://github.com/ZimonD/ContextCG7