WARNING: This page is about a different car, the 2007 Kia Rio5, 2007 Kia Rio, 2006 Kia Rio5, and 2006 Kia Rio. However, it is still accessible from the selected car via links, so may be relevant.
Open the glass fully.
Disconnect the deflector link (A) from the frame (B), and then remove the deflector (C).
Fig 1: Identifying Deflector Link, Frame And Deflector