Fixed small offset bug.