[planets.js] fix missing local variable in onEnderDragonTeleport()