Fixed the queuecomplete event so it only fires once.