Fixed pulse bug crashing at 255 brightness