Fixed a byte overflow that caused weird colours