fix paintComponent (didn't use all the screen but just pixels instead of
dotsizes)