Fix the wxpython 2.9+ display issue.