Access feature attributes by index

When the FocalPoint class was removed, detect_features was updated to return tuples.

This commit fixes a typo where the x and y attributes were still being accessed as attributes.