Now checks for out of bounds indexes and puts them in bounds (Fixes issues where TMPro puts spaces out of bounds and they wrap into the characters on the top of the atlas)