Fix getBlockLocation