fixed canvas not properly rendering when background is set
better logging