Fix bug with magic effects being sent twice