Fixing client bug in frame sending.