Masco beats Q2 EPS estimates by 23% as revenue falls short