Right click on any empty area on the taskbar and launch Taskbar Settings, then turn off the Task View toggle.