Verify if target has "box" class - bugfix