When fighting the dragon, once you get the sword just stay there above where the sword respawns. All you have to do is move up and down in that one position grabbing the sword.
For the spider boss i found it easier to stay at the bottom left its a shorter path to the sword you can also just hit it with the sword without getting the nest.
I had a friend, well, I call him a friend but turned out he was a user and he fell out with me over gamerscore and hes nearly in his 40s. Very strange person