Fix bounce bug