If a Enderdragon is summoned in the overworld, most of the time a superflat world, it will fly inexplicably towards X=0 and Z=0.
If a Enderdragon is summoned in the overworld, most of the time a superflat world, it will fly inexplicably towards X=0 and Z=0.
Jacob S. Reed
(Unassigned)
Unconfirmed
Minecraft 15w49b
Retrieved
That seems to be intended as that's what it supposed to do in the End. You can run the following on repeating command blocks to stop it.
/entitydata @e[type=EnderDragon] {DragonPhase:0}
That should work. (Never tested it yet).