Fix contains xy

Fixes #9