FengGUI flickering

i'm trying to get FengGUI up and running in jME2 using StandardGame with approx 10 gamestates.



i added this code to my game using a gamestate:



http://www.jmonkeyengine.com/wiki/doku.php?id=fenggui_jme_appl_using_standardgame



my symptoms are that the FengGUI window (1) only appears when certain other gamestates are visible, in particular a gamestate that contains render to texture, and (2) when it does appear, the FengGUI window flickers on and off at a high frequency.



i've tried both with render passes and without. same problem.



all the FengGUI functionality is thereā€¦ i.e. i can click on buttons (even if they are flickering or invisible) and they work.



thanks very much in advance.