Fixed issue with Mac syntax highlighting

Syntax coloring will no longer cause the console to lose focus on Mac the first time it is used.