Fixed resizing issue. (sort of--still paints too thick)