Fix double free, null texture drop