The best advice I ever came across on the subject of concentration is: Wherever you are, be there.
When you work, work. When you play, play. Don't mix the two.