Update Interface.java

- Updated Interface to fix the point-detection issue.