i had the same problem. fought miraak multiple times and couldn't finish the quest. i tried removing Animated Prostitution mod and the Dance of death mod and everything worked perfectly!!! iv'e finished the quest without using any console commands. so i figure, remove every animation mod and you should be fine. you should be able to see the miraak getting impaled. getting back to solstheim is still buggy though...