validates positions

https://github.com/cer025/GameTracker/commit/e97cd3a3420cdfc4d76a71e3fbf5eb07ddd30be1