modify Stage
a better way to deal with canvas element