Fixed paint problem by calling super.paint() in paintComponent()
function.