Changed canvas width behavior