Fixed bounce bug.