Bugfix: initialize graphics.