Fixed handshakeDisplay error for small screens