drawing shapes sent from server