i had the same issue, and ur solution works great. thx filippileonardo!
btw... magi great game!
Develop games in your browser. Powerful, performant & highly capable.