Fix deserialisation of illusion magic