Anyone who is encountering this problem, how are you importing the images exactly? As in which of the options available are you using?
Develop games in your browser. Powerful, performant & highly capable.