Focus, selection fixes.