It's Windows doing this, applications have no control over the placement in the notification (tray) area.
If the icon is hidden, either manually move it to the taskbar area, or right-click on the Task bar, choose "Taskbar settings" and there "Select which icons appear on the taskbar".