Fixed displaying outside of range.