E2: Fixed duping/pasting chips that fail to compile
This also occurred when pasting chips on a server lacking custom functions
Fixed pasting chips with compilation errors not being red
Thanks Muneris for helping track it