trying to use object bounds for mask canvas size