Put the compass on a window sill in direct sunlight on a sunny day.
That works great to expand the liquid and of course will eliminate the bubble temporarily. If it appears, it'll be back. It's like electronics, it won't hear it's self. It has to be fixed eventually.