fix menu input handling, more efficient positioning