I certainly never leave the handbrake on when in the garage - I've had many cars over the years that do what you've described; gave up handbrake use where not necessary a long time ago. I just leave the car in gear.
nick