Texture loading seems to work, but drawing still has some issues