fix bug: object on top of each other causes miss