Rapid Vienna boosted their hopes of making the Europa League knockout stage with a 2-1 win over FC Thun 2-1 in Group H in Austria.