test/ui/grid: corrected focus handling; tidy.