Fix Illusion bug Mark II

More efficient code