The cursor object is only attached to our canvas whilst connecting, so we need to make sure we don't try to update anything when were not connected or we'll get a crash.