After pressing Fn+Left arrow or Fn+Right arrow, On pressing the m key the apple icon on the top left gets highlighted.

FYI: Can see this behaviour on my local mac as well on pressing Fn+M. but on clicking somewhere else i can reset it. This is not happening via VNC.