Move assigning src in BaseTexture.fromImage. Allows error handling & seems to've solved a black rectangle texture problem I'd been experiencing