Followup to #4790. Fixed a regression preventing the direction and pitch from being persisted across sessions.