fixing jumping boxes