The inventory doesn't set any properties on the parent. The only issue was with player.js and the togglePerspective function, which it looks like you fixed. This change should be reverted.