fix save alpha setting
use setStyle methods for pen and brush, do not use private vars if not needed