Detect apple collision more accurately