Fix image displaying in shapedemo.

Still need to work on getting text displaying.