cache old values of X and Y to detect if a change really happened
Authored by: rmottola 2014-12-10
Parent: [r429]
Child: [r431]