fix nested grid focus loop issue