Fixed index out of bounds bug in BoblightHandler