add and/or delete pixels after canvas is resized