Fix provided by Adam Strickland for coordinates within a dialogue