Fixed C-z handling in TTY clients started from X