fix Position checking

fixes #274