Added antialiasing
Added resize handling