fix wave instantiation on click