Fix projection handling for embeddable types

Fixes #909