Brief: Fixing to use container-relative coordinates
Summary:
This calculates coordinates local to the domElement