example fixed

a bug has been fixed in software_rendering example which caused the menu
not show correctly.