The only thing that comes to my mind when this happens is to remove your focus from gambling and focus in something else, whatever it is , just be different from gambling.
It works for me and if you don't change your focus there is no other way to change your mood, you will be sad and down.
I am strongly agree with you.We can overcome losses by setting our limits in amount to spend when we gamble. Its all about how you control yourself just enjoy to gamble but know hoe to stop when you know that you can exceed the limit of your spending. We all knew that gambling is so addicted so just have fun but don't be addicted to it.