Fixed kitten out of bounds bug