Added rounding to method that maps a position to a cell.  Lack of this was causing problems due to, I think, the recent change of layout bounds.