put original brick collision code back to fix bug