Dodgers' Yasiel Puig credits shift in mindset for productive night