removing unreliable css AND changing canvas size