fix validation bubble layout when window size become too small