check for alpha in sprite draw() method. need to add it in some subclasses (for cpp target)