Added antialiasing support