fix shaking effect by unifying x and y