fixed ball collision handling and detection