fix error when compass was made too small