stubbing gradient and sprite