fix for the latest changes in sprite's stamp() method