Fixes modules not updating on amount changed