improved testing, made canvas elements transparent