fix movingplatform wall bug