Fix fantomas selection bug

Fixes #557