Fix antialiasing behaviour in flash, #594