Fix bug in coordinates reported after a window configure