Refactored the code a bit. Fixed bug with global drawing colors on all clients