Unfortunately I'm not home to look it up so I don't know where exactly it is in the hotbar settings, but there should be a check box saying something along the lines of petbar replaces hotbar 1 for specific scenarios. I personally just have specific keybinds for the petbar myself though instead of it just replacing my bar.