fix detecting ground on new block for npc placing