Bugfix: rendering image