Fix undefined item in content breaking drawing