Work around canvas size problem