I usually have my compass in the last slot in my hotbar and only select it when I set bookmarks or teleport, it still points in the correct directions in the inventory icon, there is not much of a need to have it held in hand when exploring. As for fixing the bug, I have no clue where to look, but i...