Fixed the issue in Chrome

It was just an off-by-one issue.