Bugfix that led to a bad heightAt for certain coordinates.