Fix bug with const parameter in drawTargetGrid function