Don’t think this is a bug. A pane is just a container and it does not remember the mode. Notes will always open in the default mode, unless if you go back, in which case it will remember the mode.
You can change the default mode in command palette – search for “toggle default view mode”.