Fix grid issues (row&column numeration)

Signed-off-by: Tony G <mipt.shootnick.spam@gmail.com>