Made collision work, but buggily