fix somes bugs to improve resize, menus haven't anymore bugged dimension after a resize, menus now have a passive refresh to display menu items