Fixed little issue with mouse callback refering to issue 3409.

 Was using round instead of floor.