Move windows between spaces not working anymore

I use this macro here from @Tom. Works fine under macOS Mojave