tidying canvas size and ensuring a black background so lines aren't hidden