Added error message for when a texture cannot be loaded