Roger Federer pulled off a brilliant behind-the-back volley but Thanasi Kokkinakis still managed to win the point in Miami.