Change this line:
Local P:tPalette = New tPalette.Create(ColorArray)
..to..
Local P:tPalette = tPalette.Create(ColorArray)
All your events were firing twice, not just the MOUSEDOWN one.
Local P:tPalette = New tPalette.Create(ColorArray)
..to..
Local P:tPalette = tPalette.Create(ColorArray)
All your events were firing twice, not just the MOUSEDOWN one.